package penuntze.scan

class ScanThread extends Thread {
	
	private final ScanJob scanJob
	
	public ScanThread(ScanJob scanJob) {
		this.scanJob = scanJob
	}
	
	private ScanThread() {
	}

	@Override
	public void run() {
		scanJob.refresh()
		scanJob.running = true
		
		scanJob.completePercent = 100
		scanJob.finished = true
		scanJob.running = false
	}
	
}
